// type Person = {
//   name: string
//   age: number
//   height: number
//   sex: number
// }
// type PickPerson = Pick<Person, 'age'>
// // PickPerson === { age: string }


type Person = {
  name: string
  age: number
  height: number
  sex: number
}
type OmitPerson = Omit<Person, 'sex'>
// OmitPerson === { name: string, age: number, height: number }